﻿using CharacterCreation.Data.Models;

namespace CharacterCreation.Data.Services {
    /// <summary>
    /// Delegates the creation, updating and deleting of the races in the database.
    /// </summary>
    public class RaceService : BaseService<Race, RaceService> {
        public override Race CreateNewItem() {
            return new Race() {
                Name = "new race",
                StrengthBonus = 37,
                DexterityBonus = 37,
                FightingBonus = 37,
                ConstitutionBonus = 37,
                PerceptionBonus = 37,
                IntelligenceBonus = 37,
                WillPowerBonus = 37,
                CharismaBonus = 37,
                HitPointsBonus = 37,
                EssenceBonus = 37
            };
        }
    }
}
